﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 拆包日志主表
    /// </summary>
    [Table("PB_Unpacking")]
    public partial class PB_Unpacking
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 原包Id
        /// </summary>
        public String PrimaryPackId { get; set; }

        /// <summary>
        /// 新包Id
        /// </summary>
        public String NewPackId { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public Double? Nums { get; set; }

        /// <summary>
        /// 操作人Id
        /// </summary>
        public String OperatorUserId { get; set; }

        /// <summary>
        /// 操作人姓名
        /// </summary>
        public String OperatorUserName { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 类型:0-拆包;1-合并;2-出库拆包
        /// </summary>
        public int? Type { get; set; }

    }
}